/**
 * Created with IntelliJ IDEA
 * Description
 * User: 王杰
 * Date: 2025-05-27
 * Time: 21:19
 */
public class MyLinkedListTest {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);

        myLinkedList.display();
//        myLinkedList.addIndex(1,7);
//        myLinkedList.display();
        myLinkedList.clear();
        myLinkedList.display();
    }
}
